package com.kzw.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;

/**
 * 实体类：与一个数据库表对应，尽量保证类的属性与数据表的字段要一致
 */
public class Clazz {

	private Long id;
	// 名称
	private String name;
	// 备注
	private String note;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}

}
